﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RAP.Framework.Libary.DataSource.Exceptions
{
    /// <summary>
    /// 数据查询错误信息
    /// </summary>
    public class DataSourceException : Exception
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        public DataSourceException ( string message ) : base( message ) { }

        /// <summary>
        /// 
        /// </summary>
        public string Template { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Sql { get; set; }
    }
}
